package com.ys.entity.finance;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_PartnerBankInfo", catalog="Id")
public class TcwPartnerBankInfo extends BaseEntity<TcwPartnerBankInfo> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Vid", nameJava="vid", typeDataBase="varchar")
	private String vid;
	@YsField(nameDataBase="PartnerId", nameJava="partnerId", typeDataBase="varchar")
	private String partnerId;
	@YsField(nameDataBase="PartnerName", nameJava="partnerName", typeDataBase="varchar")
	private String partnerName;
	@YsField(nameDataBase="Vgssh", nameJava="vgssh", typeDataBase="varchar")
	private String vgssh;
	@YsField(nameDataBase="BusinessDescription", nameJava="businessDescription", typeDataBase="varchar")
	private String businessDescription;
	@YsField(nameDataBase="Vlhh", nameJava="vlhh", typeDataBase="varchar")
	private String vlhh;
	@YsField(nameDataBase="Vlxr", nameJava="vlxr", typeDataBase="varchar")
	private String vlxr;
	@YsField(nameDataBase="Vlxfs", nameJava="vlxfs", typeDataBase="varchar")
	private String vlxfs;
	@YsField(nameDataBase="Vgsdh", nameJava="vgsdh", typeDataBase="varchar")
	private String vgsdh;
	@YsField(nameDataBase="Vyhzh", nameJava="vyhzh", typeDataBase="varchar")
	private String vyhzh;
	@YsField(nameDataBase="Vkhh", nameJava="vkhh", typeDataBase="varchar")
	private String vkhh;
	@YsField(nameDataBase="Vyhzhmc", nameJava="vyhzhmc", typeDataBase="varchar")
	private String vyhzhmc;
	@YsField(nameDataBase="Vbz", nameJava="vbz", typeDataBase="varchar")
	private String vbz;
	@YsField(nameDataBase="Attachment", nameJava="attachment", typeDataBase="varchar")
	private String attachment;
	@YsField(nameDataBase="BeneficiaryType", nameJava="beneficiaryType", typeDataBase="tinyint")
	private Integer beneficiaryType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwPartnerBankInfo setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVid() {
		return vid;
	}
	public TcwPartnerBankInfo setVid(String vid) {
		this.vid = vid;
		return this;
	}
	public String getPartnerId() {
		return partnerId;
	}
	public TcwPartnerBankInfo setPartnerId(String partnerId) {
		this.partnerId = partnerId;
		return this;
	}
	public String getPartnerName() {
		return partnerName;
	}
	public TcwPartnerBankInfo setPartnerName(String partnerName) {
		this.partnerName = partnerName;
		return this;
	}
	public String getVgssh() {
		return vgssh;
	}
	public TcwPartnerBankInfo setVgssh(String vgssh) {
		this.vgssh = vgssh;
		return this;
	}
	public String getBusinessDescription() {
		return businessDescription;
	}
	public TcwPartnerBankInfo setBusinessDescription(String businessDescription) {
		this.businessDescription = businessDescription;
		return this;
	}
	public String getVlhh() {
		return vlhh;
	}
	public TcwPartnerBankInfo setVlhh(String vlhh) {
		this.vlhh = vlhh;
		return this;
	}
	public String getVlxr() {
		return vlxr;
	}
	public TcwPartnerBankInfo setVlxr(String vlxr) {
		this.vlxr = vlxr;
		return this;
	}
	public String getVlxfs() {
		return vlxfs;
	}
	public TcwPartnerBankInfo setVlxfs(String vlxfs) {
		this.vlxfs = vlxfs;
		return this;
	}
	public String getVgsdh() {
		return vgsdh;
	}
	public TcwPartnerBankInfo setVgsdh(String vgsdh) {
		this.vgsdh = vgsdh;
		return this;
	}
	public String getVyhzh() {
		return vyhzh;
	}
	public TcwPartnerBankInfo setVyhzh(String vyhzh) {
		this.vyhzh = vyhzh;
		return this;
	}
	public String getVkhh() {
		return vkhh;
	}
	public TcwPartnerBankInfo setVkhh(String vkhh) {
		this.vkhh = vkhh;
		return this;
	}
	public String getVyhzhmc() {
		return vyhzhmc;
	}
	public TcwPartnerBankInfo setVyhzhmc(String vyhzhmc) {
		this.vyhzhmc = vyhzhmc;
		return this;
	}
	public String getVbz() {
		return vbz;
	}
	public TcwPartnerBankInfo setVbz(String vbz) {
		this.vbz = vbz;
		return this;
	}
	public String getAttachment() {
		return attachment;
	}
	public TcwPartnerBankInfo setAttachment(String attachment) {
		this.attachment = attachment;
		return this;
	}
	public Integer getBeneficiaryType() {
		return beneficiaryType;
	}
	public TcwPartnerBankInfo setBeneficiaryType(Integer beneficiaryType) {
		this.beneficiaryType = beneficiaryType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwPartnerBankInfo setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwPartnerBankInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwPartnerBankInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwPartnerBankInfo tcwPartnerBankInfo(
		String vid,
		String partnerId,
		String partnerName,
		String vgssh,
		String businessDescription,
		String vlhh,
		String vlxr,
		String vlxfs,
		String vgsdh,
		String vyhzh,
		String vkhh,
		String vyhzhmc,
		String vbz,
		String attachment,
		Integer beneficiaryType,
		Integer status
			) {
		TcwPartnerBankInfo entity = new TcwPartnerBankInfo();
		entity.setVid(vid);
		entity.setPartnerId(partnerId);
		entity.setPartnerName(partnerName);
		entity.setVgssh(vgssh);
		entity.setBusinessDescription(businessDescription);
		entity.setVlhh(vlhh);
		entity.setVlxr(vlxr);
		entity.setVlxfs(vlxfs);
		entity.setVgsdh(vgsdh);
		entity.setVyhzh(vyhzh);
		entity.setVkhh(vkhh);
		entity.setVyhzhmc(vyhzhmc);
		entity.setVbz(vbz);
		entity.setAttachment(attachment);
		entity.setBeneficiaryType(beneficiaryType);
		entity.setStatus(status);
		return entity;
	}
}